Midone Tailwind HTML Admin Template Getting Started File Structure Installation Style Customization Javascript Attributions Support Changelog

Javascript

Javascript Structure

All the javascript files used by the template are placed at /js/* directory. Every single component JS file are imported in /js/app.js. You can modify this file to add or remove components depends to your needs. Here is the part things you need to know about the /js/app.js structure and functions.

  • 3rd Parties: This section supposed to import all 3rd parties JS files.
  • Components: This section supposed to import all component JS files used by the template.
  // 3rd Parties import chart from './chart' import highlight from './highlight' import feather from './feather' import slick from './slick' import tooltipster from './tooltipster' import datatable from './datatable' import datepicker from './datepicker' import select2 from './select2' import dropzone from './dropzone' import summernote from './summernote' import validation from './validation' import imageZoom from './image-zoom' // Components import chat from './chat' import dropdown from './dropdown' import modal from './modal' import tab from './tab' import accordion from './accordion' import search from './search' import copyCode from './copy-code' import showCode from './show-code' import sideMenu from './side-menu' import mobileMenu from './mobile-menu' import sideMenuTooltip from './side-menu-tooltip'